//package cn.flying.cloud.flow.listener.config;
//
//import javax.annotation.Resource;
//
//import org.flowable.engine.RuntimeService;
//import org.springframework.boot.ApplicationArguments;
//import org.springframework.boot.ApplicationRunner;
//import org.springframework.stereotype.Component;
//
//import cn.flying.cloud.flow.listener.event.GlobalEventListenerHandler;
//
///**
// * flowable全局监听器配置加载
// *
// * @author: admin
// * @date: 2024年09月19日 21:48
// * @version: 1.0
// */
//@Component
//public class GlobalEventListenerConfig implements ApplicationRunner {
//
//    @Resource
//    private RuntimeService runtimeService;
//    @Resource
//    private GlobalEventListenerHandler globalEventListenerHandler;
//
//    @Override
//    public void run(ApplicationArguments args) throws Exception {
//        runtimeService.addEventListener(globalEventListenerHandler);
//    }
//}
